.class final LVitxI/jtHon/ZKMaR/bTTNI;
.super Ljava/lang/Object;

# interfaces
.implements LVitxI/jtHon/ZKMaR/jpMlG;


# instance fields
.field private final NmaDb:LAEisT/Xcscn;

.field private final OXXqZ:Z

.field private QKiUt:I

.field private WskAo:Z

.field private final mmbMe:LAEisT/OyUcY;

.field final sBZEP:LVitxI/jtHon/ZKMaR/oLzao;


# direct methods
.method constructor <init>(LAEisT/Xcscn;Z)V
    .locals 2

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    iput-boolean p2, p0, LVitxI/jtHon/ZKMaR/bTTNI;->OXXqZ:Z

    new-instance v0, LAEisT/OyUcY;

    invoke-direct {v0}, LAEisT/OyUcY;-><init>()V

    iput-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->mmbMe:LAEisT/OyUcY;

    new-instance v0, LVitxI/jtHon/ZKMaR/oLzao;

    iget-object v1, p0, LVitxI/jtHon/ZKMaR/bTTNI;->mmbMe:LAEisT/OyUcY;

    invoke-direct {v0, v1}, LVitxI/jtHon/ZKMaR/oLzao;-><init>(LAEisT/OyUcY;)V

    iput-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->sBZEP:LVitxI/jtHon/ZKMaR/oLzao;

    const/16 v0, 0x4000

    iput v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->QKiUt:I

    return-void
.end method

.method private LrGVx(IJ)V
    .locals 8

    const-wide/16 v6, 0x0

    :goto_0
    cmp-long v0, p2, v6

    if-lez v0, :cond_1

    iget v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->QKiUt:I

    int-to-long v0, v0

    invoke-static {v0, v1, p2, p3}, Ljava/lang/Math;->min(JJ)J

    move-result-wide v0

    long-to-int v1, v0

    int-to-long v2, v1

    sub-long/2addr p2, v2

    const/16 v2, 0x9

    cmp-long v0, p2, v6

    if-nez v0, :cond_0

    const/4 v0, 0x4

    :goto_1
    invoke-virtual {p0, p1, v1, v2, v0}, LVitxI/jtHon/ZKMaR/bTTNI;->xpHob(IIBB)V

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    iget-object v2, p0, LVitxI/jtHon/ZKMaR/bTTNI;->mmbMe:LAEisT/OyUcY;

    int-to-long v4, v1

    invoke-interface {v0, v2, v4, v5}, LAEisT/Xcscn;->BtKiz(LAEisT/OyUcY;J)V

    goto :goto_0

    :cond_0
    const/4 v0, 0x0

    goto :goto_1

    :cond_1
    return-void
.end method


# virtual methods
.method public declared-synchronized AzmfB(ZILAEisT/OyUcY;I)V
    .locals 2

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->WskAo:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/io/IOException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_0
    const/4 v0, 0x0

    if-eqz p1, :cond_1

    const/4 v0, 0x1

    int-to-byte v0, v0

    :cond_1
    :try_start_1
    invoke-virtual {p0, p2, v0, p3, p4}, LVitxI/jtHon/ZKMaR/bTTNI;->OAEdV(IBLAEisT/OyUcY;I)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    monitor-exit p0

    return-void
.end method

.method public declared-synchronized ELaJy(ILVitxI/jtHon/ZKMaR/rwCPL;)V
    .locals 3

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->WskAo:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/io/IOException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_0
    :try_start_1
    iget v0, p2, LVitxI/jtHon/ZKMaR/rwCPL;->foSPJ:I

    const/4 v1, -0x1

    if-ne v0, v1, :cond_1

    new-instance v0, Ljava/lang/IllegalArgumentException;

    invoke-direct {v0}, Ljava/lang/IllegalArgumentException;-><init>()V

    throw v0

    :cond_1
    const/4 v0, 0x4

    const/4 v1, 0x3

    const/4 v2, 0x0

    invoke-virtual {p0, p1, v0, v1, v2}, LVitxI/jtHon/ZKMaR/bTTNI;->xpHob(IIBB)V

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    iget v1, p2, LVitxI/jtHon/ZKMaR/rwCPL;->foSPJ:I

    invoke-interface {v0, v1}, LAEisT/Xcscn;->oIJBz(I)LAEisT/Xcscn;

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-interface {v0}, LAEisT/Xcscn;->flush()V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    monitor-exit p0

    return-void
.end method

.method public declared-synchronized Edvng(LVitxI/jtHon/ZKMaR/cAJMT;)V
    .locals 6

    const/4 v1, 0x4

    const/4 v2, 0x0

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->WskAo:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/io/IOException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_0
    :try_start_1
    invoke-virtual {p1}, LVitxI/jtHon/ZKMaR/cAJMT;->vpkCH()I

    move-result v0

    mul-int/lit8 v0, v0, 0x6

    const/4 v3, 0x4

    const/4 v4, 0x0

    const/4 v5, 0x0

    invoke-virtual {p0, v5, v0, v3, v4}, LVitxI/jtHon/ZKMaR/bTTNI;->xpHob(IIBB)V

    :goto_0
    const/16 v0, 0xa

    if-ge v2, v0, :cond_3

    invoke-virtual {p1, v2}, LVitxI/jtHon/ZKMaR/cAJMT;->ohpoL(I)Z

    move-result v0

    if-nez v0, :cond_1

    :goto_1
    add-int/lit8 v2, v2, 0x1

    goto :goto_0

    :cond_1
    if-ne v2, v1, :cond_2

    const/4 v0, 0x3

    :goto_2
    iget-object v3, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-interface {v3, v0}, LAEisT/Xcscn;->FatIr(I)LAEisT/Xcscn;

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-virtual {p1, v2}, LVitxI/jtHon/ZKMaR/cAJMT;->aAKwt(I)I

    move-result v3

    invoke-interface {v0, v3}, LAEisT/Xcscn;->oIJBz(I)LAEisT/Xcscn;

    goto :goto_1

    :cond_2
    const/4 v0, 0x7

    if-ne v2, v0, :cond_4

    move v0, v1

    goto :goto_2

    :cond_3
    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-interface {v0}, LAEisT/Xcscn;->flush()V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    monitor-exit p0

    return-void

    :cond_4
    move v0, v2

    goto :goto_2
.end method

.method public declared-synchronized GFJnA()V
    .locals 5

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->WskAo:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/io/IOException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_0
    :try_start_1
    iget-boolean v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->OXXqZ:Z
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    if-nez v0, :cond_1

    :goto_0
    monitor-exit p0

    return-void

    :cond_1
    :try_start_2
    invoke-static {}, LVitxI/jtHon/ZKMaR/dwJyD;->LEvVM()Ljava/util/logging/Logger;

    move-result-object v0

    sget-object v1, Ljava/util/logging/Level;->FINE:Ljava/util/logging/Level;

    invoke-virtual {v0, v1}, Ljava/util/logging/Logger;->isLoggable(Ljava/util/logging/Level;)Z

    move-result v0

    if-eqz v0, :cond_2

    invoke-static {}, LVitxI/jtHon/ZKMaR/dwJyD;->LEvVM()Ljava/util/logging/Logger;

    move-result-object v0

    const-string v1, ">> CONNECTION %s"

    const/4 v2, 0x1

    new-array v2, v2, [Ljava/lang/Object;

    const/4 v3, 0x0

    invoke-static {}, LVitxI/jtHon/ZKMaR/dwJyD;->qVvax()LAEisT/UsQXN;

    move-result-object v4

    invoke-virtual {v4}, LAEisT/UsQXN;->nQFNZ()Ljava/lang/String;

    move-result-object v4

    aput-object v4, v2, v3

    invoke-static {v1, v2}, LVitxI/jtHon/AthHa;->bdcoQ(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/logging/Logger;->fine(Ljava/lang/String;)V

    :cond_2
    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-static {}, LVitxI/jtHon/ZKMaR/dwJyD;->qVvax()LAEisT/UsQXN;

    move-result-object v1

    invoke-virtual {v1}, LAEisT/UsQXN;->ySRBm()[B

    move-result-object v1

    invoke-interface {v0, v1}, LAEisT/Xcscn;->MtCHE([B)LAEisT/Xcscn;

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-interface {v0}, LAEisT/Xcscn;->flush()V
    :try_end_2
    .catchall {:try_start_2 .. :try_end_2} :catchall_0

    goto :goto_0
.end method

.method OAEdV(IBLAEisT/OyUcY;I)V
    .locals 4

    const/4 v0, 0x0

    invoke-virtual {p0, p1, p4, v0, p2}, LVitxI/jtHon/ZKMaR/bTTNI;->xpHob(IIBB)V

    if-lez p4, :cond_0

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    int-to-long v2, p4

    invoke-interface {v0, p3, v2, v3}, LAEisT/Xcscn;->BtKiz(LAEisT/OyUcY;J)V

    :cond_0
    return-void
.end method

.method Owjcd(ZILjava/util/List;)V
    .locals 8

    iget-boolean v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->WskAo:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/io/IOException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_0
    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->sBZEP:LVitxI/jtHon/ZKMaR/oLzao;

    invoke-virtual {v0, p3}, LVitxI/jtHon/ZKMaR/oLzao;->QvsGc(Ljava/util/List;)V

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->mmbMe:LAEisT/OyUcY;

    invoke-virtual {v0}, LAEisT/OyUcY;->vILFo()J

    move-result-wide v2

    iget v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->QKiUt:I

    int-to-long v0, v0

    invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J

    move-result-wide v0

    long-to-int v1, v0

    const/4 v4, 0x1

    int-to-long v6, v1

    cmp-long v0, v2, v6

    if-nez v0, :cond_3

    const/4 v0, 0x4

    :goto_0
    if-eqz p1, :cond_1

    or-int/lit8 v0, v0, 0x1

    int-to-byte v0, v0

    :cond_1
    invoke-virtual {p0, p2, v1, v4, v0}, LVitxI/jtHon/ZKMaR/bTTNI;->xpHob(IIBB)V

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    iget-object v4, p0, LVitxI/jtHon/ZKMaR/bTTNI;->mmbMe:LAEisT/OyUcY;

    int-to-long v6, v1

    invoke-interface {v0, v4, v6, v7}, LAEisT/Xcscn;->BtKiz(LAEisT/OyUcY;J)V

    int-to-long v4, v1

    cmp-long v0, v2, v4

    if-lez v0, :cond_2

    int-to-long v0, v1

    sub-long v0, v2, v0

    invoke-direct {p0, p2, v0, v1}, LVitxI/jtHon/ZKMaR/bTTNI;->LrGVx(IJ)V

    :cond_2
    return-void

    :cond_3
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public declared-synchronized XXcVI()V
    .locals 2

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->WskAo:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/io/IOException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_0
    :try_start_1
    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-interface {v0}, LAEisT/Xcscn;->flush()V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    monitor-exit p0

    return-void
.end method

.method public declared-synchronized bNvWl(LVitxI/jtHon/ZKMaR/cAJMT;)V
    .locals 4

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->WskAo:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/io/IOException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_0
    :try_start_1
    iget v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->QKiUt:I

    invoke-virtual {p1, v0}, LVitxI/jtHon/ZKMaR/cAJMT;->ivRiQ(I)I

    move-result v0

    iput v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->QKiUt:I

    invoke-virtual {p1}, LVitxI/jtHon/ZKMaR/cAJMT;->RcBcB()I

    move-result v0

    const/4 v1, -0x1

    if-le v0, v1, :cond_1

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->sBZEP:LVitxI/jtHon/ZKMaR/oLzao;

    invoke-virtual {p1}, LVitxI/jtHon/ZKMaR/cAJMT;->RcBcB()I

    move-result v1

    invoke-virtual {v0, v1}, LVitxI/jtHon/ZKMaR/oLzao;->myJKn(I)V

    :cond_1
    const/4 v0, 0x0

    const/4 v1, 0x4

    const/4 v2, 0x1

    const/4 v3, 0x0

    invoke-virtual {p0, v3, v0, v1, v2}, LVitxI/jtHon/ZKMaR/bTTNI;->xpHob(IIBB)V

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-interface {v0}, LAEisT/Xcscn;->flush()V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    monitor-exit p0

    return-void
.end method

.method public declared-synchronized close()V
    .locals 1

    monitor-enter p0

    const/4 v0, 0x1

    :try_start_0
    iput-boolean v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->WskAo:Z

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-interface {v0}, LAEisT/Xcscn;->close()V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    monitor-exit p0

    return-void

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0
.end method

.method public declared-synchronized cuQEr(ZZIILjava/util/List;)V
    .locals 2

    monitor-enter p0

    if-eqz p2, :cond_0

    :try_start_0
    new-instance v0, Ljava/lang/UnsupportedOperationException;

    invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V

    throw v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_0
    :try_start_1
    iget-boolean v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->WskAo:Z

    if-eqz v0, :cond_1

    new-instance v0, Ljava/io/IOException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0

    :cond_1
    invoke-virtual {p0, p1, p3, p5}, LVitxI/jtHon/ZKMaR/bTTNI;->Owjcd(ZILjava/util/List;)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    monitor-exit p0

    return-void
.end method

.method public declared-synchronized hlKoS(ILjava/util/List;)V
    .locals 2

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->WskAo:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/io/IOException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_0
    const/4 v0, 0x0

    :try_start_1
    invoke-virtual {p0, v0, p1, p2}, LVitxI/jtHon/ZKMaR/bTTNI;->Owjcd(ZILjava/util/List;)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    monitor-exit p0

    return-void
.end method

.method public declared-synchronized lKBeu(ILVitxI/jtHon/ZKMaR/rwCPL;[B)V
    .locals 4

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->WskAo:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/io/IOException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_0
    :try_start_1
    iget v0, p2, LVitxI/jtHon/ZKMaR/rwCPL;->foSPJ:I

    const/4 v1, -0x1

    if-ne v0, v1, :cond_1

    const-string v0, "errorCode.httpCode == -1"

    const/4 v1, 0x0

    new-array v1, v1, [Ljava/lang/Object;

    invoke-static {v0, v1}, LVitxI/jtHon/ZKMaR/dwJyD;->unXUV(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/IllegalArgumentException;

    move-result-object v0

    throw v0

    :cond_1
    array-length v0, p3

    add-int/lit8 v0, v0, 0x8

    const/4 v1, 0x7

    const/4 v2, 0x0

    const/4 v3, 0x0

    invoke-virtual {p0, v3, v0, v1, v2}, LVitxI/jtHon/ZKMaR/bTTNI;->xpHob(IIBB)V

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-interface {v0, p1}, LAEisT/Xcscn;->oIJBz(I)LAEisT/Xcscn;

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    iget v1, p2, LVitxI/jtHon/ZKMaR/rwCPL;->foSPJ:I

    invoke-interface {v0, v1}, LAEisT/Xcscn;->oIJBz(I)LAEisT/Xcscn;

    array-length v0, p3

    if-lez v0, :cond_2

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-interface {v0, p3}, LAEisT/Xcscn;->MtCHE([B)LAEisT/Xcscn;

    :cond_2
    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-interface {v0}, LAEisT/Xcscn;->flush()V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    monitor-exit p0

    return-void
.end method

.method public declared-synchronized nBGnH(ZILjava/util/List;)V
    .locals 2

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->WskAo:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/io/IOException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_0
    :try_start_1
    invoke-virtual {p0, p1, p2, p3}, LVitxI/jtHon/ZKMaR/bTTNI;->Owjcd(ZILjava/util/List;)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    monitor-exit p0

    return-void
.end method

.method public declared-synchronized ovCrx(IILjava/util/List;)V
    .locals 8

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->WskAo:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/io/IOException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_0
    :try_start_1
    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->sBZEP:LVitxI/jtHon/ZKMaR/oLzao;

    invoke-virtual {v0, p3}, LVitxI/jtHon/ZKMaR/oLzao;->QvsGc(Ljava/util/List;)V

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->mmbMe:LAEisT/OyUcY;

    invoke-virtual {v0}, LAEisT/OyUcY;->vILFo()J

    move-result-wide v2

    iget v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->QKiUt:I

    add-int/lit8 v0, v0, -0x4

    int-to-long v0, v0

    invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J

    move-result-wide v0

    long-to-int v1, v0

    const/4 v4, 0x5

    int-to-long v6, v1

    cmp-long v0, v2, v6

    if-nez v0, :cond_2

    const/4 v0, 0x4

    :goto_0
    add-int/lit8 v5, v1, 0x4

    invoke-virtual {p0, p1, v5, v4, v0}, LVitxI/jtHon/ZKMaR/bTTNI;->xpHob(IIBB)V

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    const v4, 0x7fffffff

    and-int/2addr v4, p2

    invoke-interface {v0, v4}, LAEisT/Xcscn;->oIJBz(I)LAEisT/Xcscn;

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    iget-object v4, p0, LVitxI/jtHon/ZKMaR/bTTNI;->mmbMe:LAEisT/OyUcY;

    int-to-long v6, v1

    invoke-interface {v0, v4, v6, v7}, LAEisT/Xcscn;->BtKiz(LAEisT/OyUcY;J)V

    int-to-long v4, v1

    cmp-long v0, v2, v4

    if-lez v0, :cond_1

    int-to-long v0, v1

    sub-long v0, v2, v0

    invoke-direct {p0, p1, v0, v1}, LVitxI/jtHon/ZKMaR/bTTNI;->LrGVx(IJ)V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    :cond_1
    monitor-exit p0

    return-void

    :cond_2
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public pfEZj()I
    .locals 1

    iget v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->QKiUt:I

    return v0
.end method

.method public declared-synchronized ruNJT(IJ)V
    .locals 4

    monitor-enter p0

    :try_start_0
    iget-boolean v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->WskAo:Z

    if-eqz v0, :cond_0

    new-instance v0, Ljava/io/IOException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_0
    const-wide/16 v0, 0x0

    cmp-long v0, p2, v0

    if-eqz v0, :cond_1

    const-wide/32 v0, 0x7fffffff

    cmp-long v0, p2, v0

    if-lez v0, :cond_2

    :cond_1
    :try_start_1
    const-string v0, "windowSizeIncrement == 0 || windowSizeIncrement > 0x7fffffffL: %s"

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    const/4 v2, 0x0

    invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v3

    aput-object v3, v1, v2

    invoke-static {v0, v1}, LVitxI/jtHon/ZKMaR/dwJyD;->unXUV(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/IllegalArgumentException;

    move-result-object v0

    throw v0

    :cond_2
    const/4 v0, 0x4

    const/16 v1, 0x8

    const/4 v2, 0x0

    invoke-virtual {p0, p1, v0, v1, v2}, LVitxI/jtHon/ZKMaR/bTTNI;->xpHob(IIBB)V

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    long-to-int v1, p2

    invoke-interface {v0, v1}, LAEisT/Xcscn;->oIJBz(I)LAEisT/Xcscn;

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-interface {v0}, LAEisT/Xcscn;->flush()V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    monitor-exit p0

    return-void
.end method

.method public declared-synchronized sylEh(ZII)V
    .locals 4

    const/4 v0, 0x0

    monitor-enter p0

    :try_start_0
    iget-boolean v1, p0, LVitxI/jtHon/ZKMaR/bTTNI;->WskAo:Z

    if-eqz v1, :cond_0

    new-instance v0, Ljava/io/IOException;

    const-string v1, "closed"

    invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V

    throw v0
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    :catchall_0
    move-exception v0

    monitor-exit p0

    throw v0

    :cond_0
    const/16 v1, 0x8

    const/4 v2, 0x6

    if-eqz p1, :cond_1

    const/4 v0, 0x1

    :cond_1
    const/4 v3, 0x0

    :try_start_1
    invoke-virtual {p0, v3, v1, v2, v0}, LVitxI/jtHon/ZKMaR/bTTNI;->xpHob(IIBB)V

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-interface {v0, p2}, LAEisT/Xcscn;->oIJBz(I)LAEisT/Xcscn;

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-interface {v0, p3}, LAEisT/Xcscn;->oIJBz(I)LAEisT/Xcscn;

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-interface {v0}, LAEisT/Xcscn;->flush()V
    :try_end_1
    .catchall {:try_start_1 .. :try_end_1} :catchall_0

    monitor-exit p0

    return-void
.end method

.method xpHob(IIBB)V
    .locals 5

    const/4 v4, 0x1

    const/4 v3, 0x0

    invoke-static {}, LVitxI/jtHon/ZKMaR/dwJyD;->LEvVM()Ljava/util/logging/Logger;

    move-result-object v0

    sget-object v1, Ljava/util/logging/Level;->FINE:Ljava/util/logging/Level;

    invoke-virtual {v0, v1}, Ljava/util/logging/Logger;->isLoggable(Ljava/util/logging/Level;)Z

    move-result v0

    if-eqz v0, :cond_0

    invoke-static {}, LVitxI/jtHon/ZKMaR/dwJyD;->LEvVM()Ljava/util/logging/Logger;

    move-result-object v0

    invoke-static {v3, p1, p2, p3, p4}, LVitxI/jtHon/ZKMaR/krBzj;->MYDbf(ZIIBB)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/logging/Logger;->fine(Ljava/lang/String;)V

    :cond_0
    iget v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->QKiUt:I

    if-le p2, v0, :cond_1

    const-string v0, "FRAME_SIZE_ERROR length > %d: %d"

    const/4 v1, 0x2

    new-array v1, v1, [Ljava/lang/Object;

    iget v2, p0, LVitxI/jtHon/ZKMaR/bTTNI;->QKiUt:I

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    aput-object v2, v1, v3

    invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    aput-object v2, v1, v4

    invoke-static {v0, v1}, LVitxI/jtHon/ZKMaR/dwJyD;->unXUV(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/IllegalArgumentException;

    move-result-object v0

    throw v0

    :cond_1
    const/high16 v0, -0x80000000

    and-int/2addr v0, p1

    if-eqz v0, :cond_2

    const-string v0, "reserved bit set: %s"

    new-array v1, v4, [Ljava/lang/Object;

    invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    aput-object v2, v1, v3

    invoke-static {v0, v1}, LVitxI/jtHon/ZKMaR/dwJyD;->unXUV(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/IllegalArgumentException;

    move-result-object v0

    throw v0

    :cond_2
    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    invoke-static {v0, p2}, LVitxI/jtHon/ZKMaR/dwJyD;->vsoiG(LAEisT/Xcscn;I)V

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    and-int/lit16 v1, p3, 0xff

    invoke-interface {v0, v1}, LAEisT/Xcscn;->jxVXK(I)LAEisT/Xcscn;

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    and-int/lit16 v1, p4, 0xff

    invoke-interface {v0, v1}, LAEisT/Xcscn;->jxVXK(I)LAEisT/Xcscn;

    iget-object v0, p0, LVitxI/jtHon/ZKMaR/bTTNI;->NmaDb:LAEisT/Xcscn;

    const v1, 0x7fffffff

    and-int/2addr v1, p1

    invoke-interface {v0, v1}, LAEisT/Xcscn;->oIJBz(I)LAEisT/Xcscn;

    return-void
.end method
